package cn.gov.nanhai.commonssys.web.service;

import cn.gov.nanhai.commonssys.web.entity.CollectTask;
import cn.gov.nanhai.commonssys.web.mapper.CollectTaskMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

/**
 * @author ${董荣盛}
 * @创建时间 2021/4/19
 * Description:
 */
@Service
public class CollectTaskServiceImpl implements CollectTaskService{

    @Autowired
    private CollectTaskMapper cm;

    @Override
    public boolean save(CollectTask entity) {
        int insert = cm.insert(entity);
        return insert>0;
    }

    @Override
    public boolean saveBatch(Collection<CollectTask> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<CollectTask> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<CollectTask> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(CollectTask entity) {
        return false;
    }

    @Override
    public CollectTask getOne(Wrapper<CollectTask> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<CollectTask> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<CollectTask> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<CollectTask> getBaseMapper() {
        return null;
    }

    @Override
    public Class<CollectTask> getEntityClass() {
        return null;
    }
}
